package com.xiaoshuidi.cloud.module.member.mapper.coupon;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xiaoshuidi.cloud.module.member.controller.admin.coupon.vo.CouponRecordForm;
import com.xiaoshuidi.cloud.module.member.controller.admin.coupon.vo.CouponRecordVo;
import com.xiaoshuidi.cloud.module.member.pojo.coupon.CouponRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description 优惠券记录Mapper层
 * @author Alex
 * @date 2023-03-15 16:08:44
 * @version generator
 */
@Mapper
public interface CouponRecordMapper extends BaseMapper<CouponRecordEntity> {

    List<CouponRecordVo> selectCouponRecordPage(IPage<CouponRecordVo> page, CouponRecordForm form);

    void updateAccount(@Param("oldMobile") String oldMobile,@Param("mobile") String mobile);
}
